﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Syberia.Metacode
{
    class FinalExplorableObject:ExplorableObject
    {
        readonly string text;
        private readonly string tooltip;
        public FinalExplorableObject(string text, string tooltip)
        {
            this.text = text;
            this.tooltip = tooltip;
        }
        public override string Name
        {
            get
            {
                return "[!]"+text;
            }
        }
        public override IEnumerable<ExplorableObject> SubObjects
        {
            get
            {
                return null;
            }
        }
        public override object EditableObject
        {
            get
            {
                return tooltip;
            }
        }
    }
}
